<template>
  <div id="home-root">
    <div id="m-index">
      <p class="title"></p>
      <ul>
        <li class="trip">
          <p class="icon"></p>
          <p class="name">面包旅行</p>
          <router-link to="/trip">点击进入</router-link>
        </li>
        <li class="hunter">
          <p class="icon"></p>
          <p class="name">面包猎人</p>
          <router-link to="/hunter">点击进入</router-link>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  
}
</script>

<style scoped>
  #home-root{
    width: 100vw;
    height: 100vh;
    background-image: url("/static/img/bg.png");
    background-size: cover;
    text-align: center;
  }
  #m-index{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    vertical-align: baseline;
    padding-top: 21vh;
  }
  
  .title{
    width: 187px;
    height: 67px;
    background-image: url("/static/img/htitle.png");
    background-size: cover;
    margin-bottom: 9vh;
  }
  ul{
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 0 30px;
  }
  li{
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    margin: 0 27px;
    padding:0 9px;
    text-align: center;
  }
  .icon{
    width: 82px;
    height: 82px;
    background-size: 82px 82px;
  }
  .trip .icon{
    background-image: url("/static/img/trip.png");
  }
  .hunter .icon{
    background-image: url("/static/img/hunter.png");
  }
  .name{
    font-size: 18px;
    margin-bottom: 27px;
    line-height: 1;
  }
  li a{
    text-decoration: none;
    font-size: 14px;
    color: #fff;
    width: 100px;
    height: 32px;
    line-height: 32px;
    background-color: #4abdcc;
    display: inline-block;
    border-radius: 100px;
  }
</style>
